#include <gtkmm/main.h>
#include "loginwindow.h"

// The following is a prototype of the GUI.  The code is intentionally chaotic.
// it's mere raison d'etre is to run the gui stored in glade xml file.

int main(int argc, char **argv)
{
	Gtk::Main kit(argc, argv);
	 
	// show login window
	Glib::RefPtr<Gnome::Glade::Xml> ui_xml = Gnome::Glade::Xml::create("login_window.glade");
	LoginWindow* login_window = 0;
	ui_xml->get_widget_derived("login_dialog", login_window);
	login_window->show();

	kit.run();
	 
	return 0;
}
